


public class TestSourceFilter extends InstrumentationFilterFramework{
	
	//This class is designed as a source filter for the instrumentation business case and designed to 
	//quickly test various inputs
	public void run(){
		
		for(int i=0; i<10; i++){
			writeMeasurementToFilterOutputPort(Measurement.TIME, new Long(i));
			writeMeasurementToFilterOutputPort(Measurement.VELOCITY, 0.0);
			writeMeasurementToFilterOutputPort(Measurement.ALTITUDE, 0.0);
			
			writeMeasurementToFilterOutputPort(Measurement.TEMPERATURE, 32.0);
			writeMeasurementToFilterOutputPort(Measurement.PITCH, 0.0);
		}
		
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 20.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 40.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 80.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 60.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 100.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 100.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 80.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 70.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 100.0);
		writeMeasurementToFilterOutputPort(Measurement.PRESSURE, 100.0);
	}

}
